package com.yb.guigu.pick.security.bean;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.ArrayList;
import java.util.List;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/29 17:33
 * FileName: WhiteListProperties
 * Description:
 */
@Data
@ConfigurationProperties("guigu.pick.security.ignore")
@RefreshScope
@Slf4j
public class WhiteListProperties {
    private List<String> urls=new ArrayList<>();

    public void setUrls(List<String> urls) {
        log.info("urls:{}",urls);
        this.urls = urls;
    }
}
